﻿<%@ Page Language="C#" MasterPageFile="~/Views/Compartido/Site.Master"   Inherits="System.Web.Mvc.ViewPage<CinePlancito.Dominio.Pelicula>" %>

<script runat="server">

    protected void Page_Load(object sender, EventArgs e)
    {

    }
</script>
<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
    <style type="text/css">
        .style8
        {
            width: 100%;
        }
        .style9
        {
            width: 183px;
        }
        .style11
        {
            height: 30px;
        }
        .style12
        {
            height: 30px;
        }
        .style13
        {
            width: 182px;
            height: 150px;
        }
    </style>
</asp:Content>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">

 
    <% using (Html.BeginForm())
       {%>
        <%: Html.ValidationSummary(true) %>

        <fieldset>
            <legend>EDITAR PELICULA</legend>

             <table border="0" style="margin-right: 0px; width: 882px;"> 

             </table>
                &nbsp;<table class="style8">
                <tr>
                    <td class="style9">
                        <div class="editor-label">
                        <!-- <%: Html.LabelFor(model => model.Idpelicula) %>-->Codigo
                        </div>
                        </td>
                    <td>
                                 <div class="editor-field">
                <%: Html.TextBoxFor(model => model.Idpelicula, new { disabled = "disabled" })%>
                
                <%: Html.ValidationMessageFor(model => model.Idpelicula)%>
            </div>
            </td>
                </tr>
                <tr>
                    <td class="style9">
                         <div class="editor-label">
                        <!-- <%: Html.LabelFor(model => model.Nombre) %>-->Nombre
                        </div></td>
                    <td>
                        
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.Nombre) %>
                <%: Html.ValidationMessageFor(model => model.Nombre)%>
            </div></td>
                </tr>
                <tr>
                    <td class="style9">
                        <div class="editor-label">
                        <!-- <%: Html.LabelFor(model => model.Descripcion) %>-->descripción
                        </div>
                    </td>
                <td>
                        
                    <div class="editor-field">
                        <%: Html.TextBoxFor(model => model.Descripcion)%>
                        <%: Html.ValidationMessageFor(model => model.Descripcion)%>
                    </div>
                </td>
                </tr>
                <tr>
                    <td class="style9">
                        <div class="editor-label">
                        <!-- <%: Html.LabelFor(model => model.Periodo) %>-->Periodo
                        </div>
                    </td>
                <td>
                        
                    <div class="editor-field">
                        <%: Html.TextBoxFor(model => model.Periodo)%>
                        <%: Html.ValidationMessageFor(model => model.Periodo)%>
                    </div>
                </td>
                </tr>




                <tr>
                    <td class="style11">
                <input type="submit" value="Editar"/></td>
                    <td class="style11">
                        
                        <%: Html.ActionLink("Listado de Peliculas", "ListaPeliculas") %></td>

      <td class="style11">
                </tr>
                <tr>
                    <td class="style11" align="center" colspan="2">
                        <Img class="style13" src="../../Imagenes/agua-y-cine.jpg" /></td>
                </tr>
            </table>

            </fieldset><br />
&nbsp;<% } %>

</asp:Content>